package com.hzx.dao;

import com.hzx.pojo.Order;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface OrderMapper {

    Integer deleteByPrimaryKey(Integer id);

    Integer insert(Order record);

    Integer insertSelective(Order record);

    Order selectByPrimaryKey(Integer id);

    Integer updateByPrimaryKeySelective(Order record);

    Integer updateByPrimaryKey(Order record);

    Order selectByid(Integer id);

    Order selectByFind_name(String find_name);

    List selectAll();

    Integer selectIdBySelective(Order order);
    List selectOrderByUid(Integer uid);

    Integer selectOrderNum();

    Integer selectOrderTradeNum();

    Integer updateOrderStatus(Integer id);
}
